﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<form id="form1">
    <div class='myzh_right_content fr'>
        <p class='right_head_title'><span class="span1">我的 ></span> 操作</p>
        <div class="recharge-content">
            <input type="hidden" id="id" name="id" value="${data.id}"/>
            <div class="mt-10">
                <span class="fl mt-3 w-120">用户编号：</span>
                <input type="text" class="txt txt-1 fl w-220" id="uid" name="uid" value="${data.uid}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">举报id：</span>
                <input type="text" class="txt txt-1 fl w-220" id="rid" name="rid" value="${data.rid}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">举报内容：</span>
                <input type="text" class="txt txt-1 fl w-220" id="content" name="content" value="${data.content}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">图片信息：</span>
                <input type="text" class="txt txt-1 fl w-220" id="images" name="images" value="${data.images}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">email：</span>
                <input type="text" class="txt txt-1 fl w-220" id="email" name="email" value="${data.email}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">添加时间：</span>
                <input type="text" class="txt txt-1 fl w-220" id="create_time" name="create_time"
                       value="${data.create_time}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">审核状态:0待审核，1审核通过，审核拒绝：</span>
                <input type="text" class="txt txt-1 fl w-220" id="audit_status" name="audit_status"
                       value="${data.audit_status}">
                <div class="cl"></div>
            </div>
            <div class="mt-10">
                <span class="fl mt-3 w-120">审核人：</span>
                <input type="text" class="txt txt-1 fl w-220" id="audit_name" name="audit_name"
                       value="${data.audit_name}">
                <div class="cl"></div>
            </div>

            <div class="mt-30 ml-10">
                <input type="button" class="btn btn-1 fl w-100" value="${title}" onclick="add()">
                <input type="button" class="btn btn-2 fl w-100 ml-20" value="返回"
                       onclick="window.location='${basePath}/t_common_report_sub/list'">
            </div>
        </div>
    </div>
</form>
<div class='clear'></div>
<script type="text/javascript">
    function add() {
        $.post("${basePath}/ajax/t_common_report_sub/add", $("#form1").serialize(), function (d) {
            if (d.code == 1) {
                alert("成功");
                window.location = "${basePath}/t_common_report_sub/list";
                return;
            }
            alert("失败");
        });
    }
</script>


